import routerView from "@/components/pubComp/routerView.vue";
const pre = "convaccess-";
export default {
  path: "/convaccess",
  name: "convaccess",
  meta: {
    title: "访客预约",
  },
  redirect: {
    name: `${pre}appointmentVisit`,
  },
  component: routerView,
  children: [
    {
      path: "appointmentVisit",
      name: `${pre}appointmentVisit`,
      meta: {
        title: "预约拜访",
        closable: false,
      },
      component: () =>
        import("@/views/srvAssurance/convaccess/appointmentVisit"),
    },
    {
      path: "visitorApproval",
      name: `${pre}visitorApproval`,
      meta: {
        title: "访客审批",
        closable: false,
      },
      component: () =>
        import("@/views/srvAssurance/convaccess/visitorApproval"),
    },
    {
      path: "myInvitation",
      name: `${pre}myInvitation`,
      meta: {
        title: "我的邀请",
        closable: false,
      },
      component: () =>
        import("@/views/srvAssurance/convaccess/myInvitation"),
    },
    {
      path: "accessRecord",
      name: `${pre}accessRecord`,
      meta: {
        title: "访问记录",
        closable: false,
      },
      component: () =>
        import("@/views/srvAssurance/convaccess/accessRecord"),
    },
  ],
};
